home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_vim.idb / usr / freeware / share / vim / syntax / nosyntax.vim.z / nosyntax.vim
Encoding:
Text File  |  1998-10-28  |  498 b   |  22 lines

  1. " Vim syntax support file
  2. " Maintainer:    Bram Moolenaar <Bram@vim.org>
  3. " Last change:    1997 Dec 16
  4.  
  5. " This is the cleanup file for syntax highlighting.
  6. " It removes the autocommands and stops highlighting for all buffers.
  7.  
  8. if has("syntax")
  9.   augroup syntax
  10.     au!
  11.     au BufEnter * syn clear
  12.     au BufEnter * if exists("b:current_syntax") | unlet b:current_syntax | endif
  13.     doautoall syntax BufEnter *
  14.     au!
  15.   augroup END
  16.   if exists("syntax_on")
  17.     unlet syntax_on
  18.   endif
  19. endif
  20.  
  21. " vim: ts=8
  22.